package com.example.homelicaisystem.services;

import com.example.homelicaisystem.entity.DTO.FamilyDTO;
import com.example.homelicaisystem.entity.IncomeDetail;
import com.example.homelicaisystem.entity.DTO.IncomeDetailDTO;
import com.example.homelicaisystem.entity.SelectResult;
import com.github.pagehelper.Page;

import java.util.List;

public interface IncomeDetailService {
    Page<IncomeDetail> getList(IncomeDetailDTO data);

    void delete (int id);

    void modify(IncomeDetail data);

    IncomeDetail create(IncomeDetail data);

    List<SelectResult> selectIncomeType();

    List<SelectResult> selectIncomeMode();

    IncomeDetail getIncomeDetailById(int id);

    List<IncomeDetail> censusByMode(FamilyDTO data);
}
